/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.expert.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.chlitina.store.common.service.BaseService;
import com.chlitina.store.modules.expert.dao.CustomerSolutionMixDao;
import com.chlitina.store.modules.expert.entity.CustomerSolutionMix;

/**
 * 采纳护理续买Service
 * @author liujiang
 * @version 2013-08-27
 */
@Component
@Transactional(readOnly = true)
public class CustomerSolutionMixService extends BaseService {

	@SuppressWarnings("unused")
	private static Logger logger = LoggerFactory.getLogger(CustomerSolutionMixService.class);
	
	@Autowired
	private CustomerSolutionMixDao customerSolutionMixDao;
	
	public CustomerSolutionMix get(Long id) {
		return customerSolutionMixDao.findOne(id);
	}
	
	@Transactional(readOnly = false)
	public void save(CustomerSolutionMix customerSolutionMix) {
		customerSolutionMixDao.save(customerSolutionMix);
	}
	
	@Transactional(readOnly = false)
	public void delete(Long id) {
		customerSolutionMixDao.delete(id);
	}
	
}
